/*
 * @Author: your name
 * @Date: 2020-12-30 14:09:22
 * @LastEditTime: 2021-05-18 22:22:40
 * @LastEditors: Please set LastEditors
 * @Description: In User Settings Edit
 * @FilePath: \node-server\db\config.js
 */

module.exports =
    process.env.NODE_ENV == "dev"
        ? {
              host: "118.31.106.170", //线上地址
              port: "3306",
              user: "qljf",
              password: "qljf",
              database: "qljf",
          }
        : /* {
              host: "localhost",
              user: "root",
              password: "root",
              database: "qljf",
          } */
          {
              host: "localhost",
              user: "qljf",
              password: "qljf",
              database: "qljf",
          };
